home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
checkb
/
db3chk21
/
chkmain.prg
< prev
next >
Wrap
Text File
|
1987-05-25
|
1KB
|
64 lines
* CHKMAIN.PRG
SET TALK OFF
SET ECHO OFF
! FLIPWLD NUMS ON
! FLIPWLD CAPS ON
ON ESCAPE RETURN
SET FUNCTION 2 TO ""
SET FUNCTION 3 TO ""
SET FUNCTION 4 TO ""
SET FUNCTION 5 TO ""
SET FUNCTION 6 TO ""
SET FUNCTION 7 TO ""
SET FUNCTION 8 TO ""
SET FUNCTION 9 TO ""
SET FUNCTION 10 TO ""
SET MARGIN TO 5 && ADJUST PRINTER MARGIN
SET PROCEDURE TO SCREENS
SET STATUS OFF
SET BELL OFF
SET CONFIRM ON
STORE 5 TO MSELECT
CLEAR
DO WHILE .T.
DO MENUDRAW
@ 3,20 SAY " Main Menu - Checking Account "
@ 6,5 SAY " 1) Check Register Reports "
@ 8,5 SAY " 2) Check Register Maintenance "
@ 10,5 SAY " 3) Add New Transactions "
@ 12,5 SAY " 4) Exit to Dbase III "
@ 14,5 SAY " 5) Exit to System "
@ 20,8 SAY " Enter Selection (1 to 4 and <CR> ) " GET MSELECT PICTURE "9" RANGE 1,5
READ
IF MSELECT = 5 && QUIT TO SYSTEM
QUIT
ENDIF
IF MSELECT = 4 && QUIT TO DBIII
CLOSE DATABASES
SET TALK ON
SET STATUS ON
SET ECHO ON
DO RESET
CLEAR
CANCEL
ENDIF
IF MSELECT = 1
DO CHKREG
MSELECT = 5 && DEFAULT VALUE ON REENTRY
ENDIF
IF MSELECT = 2
DO CHKEDIT
MSELECT = 5 && DEFAULT VALUE ON REENTRY
ENDIF
IF MSELECT = 3
DO CHKADD
MSELECT = 5 && DEFAULT VALUE ON REENTRY
ENDIF
CLEAR
ENDDO